package com.cloudsea.yunhaistores.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("order_items")
public class OrderItems {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long orderId;
    private String spuName; // 新增
    private Long skuId;
    private String skuName;
    private Long skuPrice; // 单位：分
    private Integer quantity;
}